<?php
	foreach ($lines as $line) {
		$this->Csv->addRow($line);
	}
	echo $this->Csv->render($fileName);  
?>